import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
    {
        path:'/',
        name:'Register',
        component:()=>import('../components/Register.vue')
    },
    {
        path:'/login',
        name:'Login',
        component:()=>import('../components/Login.vue')
    },
    {
        path:'/Show',
        name:'Show',
        component:()=>import('../components/Show.vue')
    },
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router